package com.ckcool.blog.service;

import com.ckcool.blog.dao.pojo.SysUser;
import com.ckcool.blog.vo.Result;
import com.ckcool.blog.vo.UserVo;

/**
 * @author ckcool
 */
public interface SysUserService {

    UserVo findUserVoById(Long id);

    SysUser findUserById(Long id);

    SysUser findUser(String account, String password);

    Result findUserByToken(String token);

    SysUser finUserByAccount(String account);

    void save(SysUser sysUser);
}
